import React from 'react'
import './css/zbw-home/Swiper.less'
import { Swiper, Image } from 'antd-mobile'
export default function mySwiper({ list }: any) {
    return (
        <Swiper className='swiper' autoplay loop>
            {list.map((item: any, index: any) => {
                return <Swiper.Item key={index}>
                    <Image src={"http://124.93.196.45:10001/" + item.advImg}></Image>
                </Swiper.Item>
            })}
        </Swiper>
    )
}
